﻿using System;
namespace HookupAppForm.Dto
{
    public class ItemsDto<T>
    {
        public Result<T> result { get; set; }
        public object targetUrl { get; set; }
        public bool success { get; set; }
        public object error { get; set; }
        public bool unAuthorizedRequest { get; set; }
        public bool __abp { get; set; }
    }

    public class Result<T>
    {
        public int totalCount { get; set; }
        public T[] items { get; set; }
    }

    public class ListsDto<T>
    {
        public T result { get; set; }
        public object targetUrl { get; set; }
        public bool success { get; set; }
        public object error { get; set; }
        public bool unAuthorizedRequest { get; set; }
        public bool __abp { get; set; }
    }


    public class HKP_HDCDto
    {
        public Guid ToolId { get; set; }
        public HKP_ToolDto HkpTool { get; set; }
        public string HkpToolName { get; set; }
        public string Building { get; set; }
        public string Floor { get; set; }
        public string FabArea { get; set; }
        public string Bay { get; set; }
        public decimal X { get; set; }
        public decimal Y { get; set; }
        public decimal Z { get; set; }
        public string TakeoffNo { get; set; }
        public string SubmainNo { get; set; }
        public string SysNo { get; set; }
        public string Id { get; set; }
        public Guid ToolSysReqId { get; set; }
        public virtual HKP_ToolSysReqDto ToolSysReq { get; set; }
        /// <summary>
        /// 审核状态，P=送审，A=已审核，U=审核不通过
        /// </summary>
        public string AprvStatus { get; set; }
        public bool IsAprv { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string AprvUser { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? AprvTime { get; set; }
        /// <summary>
        /// 派点编号（编码原则为KS-H-20210915-001 KS:新核芯，H:二次配，20210915:表示输入的当天日期，001：流水号）
        /// </summary>
        public string TranNo { get; set; }
        /// <summary>
        /// 送审的时候产生的唯一编号，第二次送签的时候依然是这个编号
        /// </summary>
        public string SignatureNo { get; set; }
        /// <summary>
        /// 管道使用接点
        /// </summary>
        public int SumUsedPoint { get; set; }
        /// <summary>
        /// 管道使用容量/流量
        /// </summary>
        public decimal SumUsedFlow { get; set; }
        /// <summary>
        /// 稼动率
        /// </summary>
        public string jiadonglv { get; set; }
        /// <summary>
        /// 计算结果
        /// </summary>
        public string jisuanjieguo { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string danwei { get; set; }
    }


    public class FloorListDto
    {
        public string floor { get; set; }
    }
}


